package cn.genmer.test.security.fiber;

public class HelloFiber {
    public static void main(String[] args) {
//        Fiber<Void> fiber = new Fiber<>(new SuspendableRunnable() {
//            @Override
//            public void run() throws SuspendExecution, InterruptedException {
//                calc();
//            }
//        });

        calc();
    }


    public static void calc(){
        int sum = 0;
        for (int i = 0; i < 10000; i++) {
            sum+= i;
        }
    }
}
